package com.stool.gramalldata.domain;

import java.util.List;

public class GramResponse {
    private List<GramResult> results;

    public GramResponse(){

    }

    public static GramResponse create(List<GramResult> gramResults) {
        GramResponse gramResponse = new GramResponse();
        gramResponse.setResults(gramResults);
        return gramResponse;
    }

    public List<GramResult> getResults() {
        return results;
    }

    public void setResults(List<GramResult> results) {
        this.results = results;
    }

    @Override
    public String toString() {
        return "GramResponse{" +
                "results=" + results +
                '}';
    }
}
